< previous page page_624 next page >

Page 624
8694cbadb9b1ef7075903f6f95fc1db2.gif
 5:     MyAgent.Show
 6:     MyAgent.GestureAt 20, 20
 7:     Set MyRequest =
 8:        MyAgent.Speak(Please enter your first and last name in this _
           box.)
 9:     Do Until MyRequest.status = 0
10:         DoEvents
11:     Loop
12:     MyAgent.Hide
13:
14: End Sub

Run the application and double-click the text box to see what happens. The end result should resemble Figure B.5.
12181-0624a.gif
Figure B.5.
When you double-click the text box, the character will appear and talk to
users.
Tip
You can use Agent characters in place of message boxes to inform users of a problem.

 
< previous page page_624 next page >

If you like this book, buy it!